aqua.htmlHTMLudogΩπùΔ¢πùΔ¢ÅÅ8à Monkeybread Realbasic plugin - Documentation - Aqua

MBS Plugin Documentation

This is the documentation for the Realbasic Plugins from Monkeybreadsoftware.de. You find these plugins and the newest version of this document at http://www.monkeybreadsoftware.de/realbasic inside the plugins section.

This help was last updated on Freitag, 6. September 2002 and covers 2136 items: 126 classes, 2 controls and 583 global functions.

The list of the themes Global methods by category Global methods by name The list of the classes The list of the controls

DisableAquaPrefMenu

global method, Appearance Manager Do, 15. Aug 2002
Mac OS Classic: does nothing Mac OS Carbon: Works. Windows: does nothing
Function: Disables the preference menu item.
Example: AquaPrefMenuDisable
Notes: In RB 4.5 use the PrefMenuItem instead of this function.

EnableAquaPrefMenu

global method, Appearance Manager Do, 15. Aug 2002
Mac OS Classic: does nothing Mac OS Carbon: Works. Windows: does nothing
Function: Enables the preference menu item.
Example: AquaPrefMenuEnable
Notes:
In RB 4.5 use the PrefMenuItem instead of this function.

Use some code like this in the Applications HandleEventHandler:

#if targetcarbon // Doesn't make sense else

// Check if it's the preferences call

if eventClass = "aevt" and eventID = "pref" then

prefdialog.showmodal ' do your stuff here

return true // We handled that Apple Event
end if

#endif

Contact

Written 2002 by Christian Schmitz. Feel free to ask or report mistakes to realbasic@macsw.de.
Thanks.

This resource fork intentionally left blank ˇˇ